<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Digital Form Application &mdash; <?php echo ($type == 'ci') ? 'Corporate Individual' : 'Corporate Managed' ?></title>
<style type="text/css" media="all">
body{ margin:0;padding:0;  color:#2f63af; font-size:12px; font-family:Arial, Helvetica, sans-serif; font-weight:bold; }

h1{ margin:0;padding:0; color:#cbd8e9; font-size: 30px; font-weight:normal;}
h2{ margin:0;padding:0; color:#fff; font-size: 20px; font-weight:normal;}

form .txt{float:left;width:20px; height:20px; border:1px #2f63af solid; text-align:center; font-size: 16px;}
form .longtxt{float:left;width:330px; height:12px; border-bottom:1px #2f63af solid; text-align:center; font-size: 12px;}
form .longertxt{float:left;width:575px; height:12px; border-bottom:1px #2f63af solid; text-align:center; font-size: 12px;}
form .shortxt{float:left;width:130px; height:12px; border-bottom:1px #2f63af solid; text-align:center; font-size: 12px;}
form label{float:left;}
form label span{font-size:10px;}
form table span{font-size:12px;}
.pls{color: #fff;}
form .shortxt-o{float:left;width:115px; height:16px; border-bottom:1px #2f63af solid; text-align:center; font-size: 16px;}
.fl{ float:left}
.fr{ float:right}
.clear{clear:both;}
.b{ font-weight:bold}
ul.confor li{ margin:10px 0px}
ul.lower-alpha
{
	list-style:lower-alpha;

}

ul.roman
{list-style:lower-roman;}

.page {
  padding-bottom: 50px;
  page-break-after: always;
}

</style>
<style type="text/css" media="print">
  #print_button, #terms-pdf { display: none }
  .page {padding-bottom:0; margin:0;}
</style>
</head>

<body>
  <input id="print_button" type="button" onclick="window.print()" value="Print Now" />
<div style="margin-top:5px;">
<form>

  <?php if($type == 'ci'): ?>
  <!-- Corporate Individual -->
  <div class="page">
    <?php include_partial('corporateIndividualForm',array('application'=>$application)) ?>
  </div>
  <!-- end of Corporate Individual -->

  <?php elseif($type == 'cm'): ?>
  <!-- Corporate Managed -->
    <?php include_partial('corporateManagedForm',array('application'=>$application)) ?>
  <!-- end of Corporate Managed -->

  <?php endif; ?>

  <div class="page">
  <!-- Employee Certification and Subscriber Declaration Form -->
  <?php include_partial('employeeCertificationSubscriberDeclaration',array('application'=>$application,'type'=>$type)) ?>
  <!-- End of Employee Certification and Subscriber Declaration Form -->
  </div>


  <div class="page">
  <!-- Bulk Service Application Form -->
  <?php include_partial('bulkServiceApplicationForm',array('application'=>$application)) ?>
  </div>

  <!-- Agreement -->
  <?php include_partial('agreement',array('application'=>$application)) ?>
  <!-- End of Agreement -->

</form>
</div>
</body>
</html>